<?php echo anchor('admin/tbl_cat_coupon_product/add','Add Category Coupon Product');?>
<br>
<?php echo anchor('admin/front','back');?>
<?php echo form_open('admin/tbl_cat_coupon_product/delete');?>
<table class="standard-table">
    <tr>
        
        <th>ID</th>
       
        
        <th>ID Product</th>
        
        <th>ID Coupon</th>
        
        <th>Action</th>

    </tr>
    <?php foreach ($tbl_cat_coupon_products as $tbl_cat_coupon_product) { ?>

        <tr>
            <th><?php echo form_checkbox('id[]',$tbl_cat_coupon_product['id']).$tbl_cat_coupon_product['id']; ?></th>

             
            <th><?php echo $tbl_cat_coupon_product['id_product']; ?></th>
           
            <th><?php echo $tbl_cat_coupon_product['id_coupon']; ?></th>
           
            <th><a href="<?php echo site_url().'/admin/tbl_cat_coupon_product/form_update/'.$tbl_cat_coupon_product['id'];?>" >Edit</a>
        </tr>
 
<?php } ?>
</table>
<?php echo $pagination; ?>
<br>
<input type="submit" value="delete" onclick="return confirm('are you sure ?');">

<?php echo form_close();?>